<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script>
      // 声明一个变量
      var age;
      // 给变量赋值
      age = 10;
      //控制台打印
      console.log(age);
      //   变量的初始化
      var myname = "shiwu";
      console.log(myname);
    </script>
  </head>
  <body></body>
</html>
